import Vue from 'vue'

export default {
    install(){
        Vue.directive('focus', function(el, binding, vnode){
            el.onclick = () => {
                el.select();
            }
        });
    }
}